<?php
include_once('common/header.php');	
if($AppUI->id <= 0 || !isset($_SERVER['HTTP_REFERER'])) {	
	$arrJson = array('error'=>1,'msg'=>$arrError[1]);
	echo $objRequest->getParam('callback') . '(' . Zend_Json::encode($arrJson) . ')';
	exit();
}
$intHexId		= $objRequest->getParam('uid',0);
$objVfriendUser	= new Vfriend_User();
$intVon			= $objVfriendUser->getAccount($AppUI->id, 1);
$objUser		= $objVfriendUser->getInfoByHexUserId($intHexId);
$this->view->objUser	= $objUser;
$this->view->intVon		= $intVon;
$this->view->strTok		= $objUser->id . '_' . $AppUI->id;
$objView 		= Zend_Registry::get('objView');
$strData		= $objView->fetch('ajax/ui-von.tpl');
$arrJson 		= array('error'=>0,'msg'=>$strData);
echo $objRequest->getParam('callback') . '(' . Zend_Json::encode($arrJson) . ')';
exit();
?>